<layout name="layout" />
<div class="table_list">
    <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tableClass">
        <thead>
            <tr>
                <td width="12%" align="left">订单编号</td>
                <td  align="center">简介</td>
                <td  align="center">状态</td>
                <td width="35%" align="center">管理操作</td>
            </tr>
        </thead>
        <tbody>
        <volist name="list" id="vo" key="k">
            <tr>
                <td align="center">{$vo.order_id}</td>
                <td align="left"> 
                    订单金额:{$vo.price|format_price}
                    <br />
                    <?php $area = D("Area")->get($vo['area']); ?>
                    地址:
            <volist name="area" id="area_val">
                {$area_val.name}&nbsp;
            </volist>|&nbsp;{$vo.address}
            <br/>
            <font color=blue>下单时间:{$vo['create_time']|date="Y-m-d H:i:s",###}</font>
            </td>
            <td align="center">
            <if condition="$vo['confirm_status'] == 1">
                已经处理
                <else/>
                尚未处理
            </if>


            </td>
            <td align="center">
                <a href="{:U('User/Order/view',array('order_id'=>$vo['order_id']))}" target="_blank">
                    <font>查看订单</font>
                </a>
            <if condition="$vo['confirm_status'] == 0">
                <a href="{:U('User/Order/confirm',array('order_id'=>$vo['order_id']))}">
                    <font color=blue>确认已处理</font>
                </a>
            </if>

            </td>
            </tr>
        </volist>
        </tbody>
    </table>
    <div class="p10">
        <div class="pages">{$Page}</div>
    </div>
</div>